#! /usr/bin/env python
# coding=utf-8

from distutils.core import setup
import py2exe, sys
from util import __version__

if len(sys.argv) == 1:
    sys.argv.append("py2exe")
    sys.argv.append("-q")

options = {"py2exe": {"optimize": 2,
                      "compressed": 1,
                      "bundle_files": 1
                     }
          }

setup(
      version = __version__,
      description = "WallProxy",
      name = "WallProxy",
      options = options,
      zipfile = None,
      console = [{"script": "proxy.py"}]
     )